
package com.xinzhidi.web.city.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @ClassName City
 * @Description:
 * @Author cx
 * @Date 2023-05-23 00:03
 * @Version V1.0
 **/

@Getter
@Setter
@TableName("c_city")
public class City {

    /**
     * 城市代码
     */
    @ApiModelProperty("代码")
    @TableId
    private String id;
    /**
     * 城市名称
     */
    @ApiModelProperty("城市名称")
    private String name;
    /**
     * 省级代码
     */
    @ApiModelProperty("上级代码")
    private Integer pid;

    @ApiModelProperty("城市id")
    private Integer cityId;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty("纬度")
    private String latitude;
}
